# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=tree-sitter-python
pkgver=0.23.2
pkgrel=0
pkgdesc="Python grammar for tree-sitter"
url="https://github.com/tree-sitter/tree-sitter-python"
arch="all"
license="MIT"
makedepends="tree-sitter-dev"
install_if="tree-sitter-grammars"
source="https://github.com/tree-sitter/tree-sitter-python/archive/v$pkgver/tree-sitter-python-v$pkgver.tar.gz"
options="!check"  # no tests for shared lib

build() {
	abuild-tree-sitter build
}
package() {
	DESTDIR="$pkgdir" abuild-tree-sitter install
}

sha512sums="
784e1157de886044bf0e3bfae1a12bc5fefc0316ca2e7d5cafef4c9cbdff7f2e6c376b838e0319dbb45eb51661bb9d30b8f8feba5b8575bd40858a3cdd6e58de  tree-sitter-python-v0.23.2.tar.gz
"
